package cn.com.bluemoon.daps.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Description 模型和元数据关系管理响应对象;
 * @Author luolq
 * @Date 2022/11/2 10:40
 * @Vsersion 1.0
 **/
@ApiModel("模型和元数据关系管理响应对象")
@Data
public class ModelMetadataMappingDto {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "模型表系统ID")
    private String modelSystemId;

    @ApiModelProperty(value = "模型表系统名称")
    private String modelSystemName;

    @ApiModelProperty(value = "元数据表系统ID")
    private String metadataSystemId;

    @ApiModelProperty(value = "元数据表系统名称")
    private String metadataSystemName;

    @ApiModelProperty(value = "创建人")
    private String createUserId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改人")
    private String updateUserId;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}
